import React from "react";
import { Table as AntdTable, TableProps } from "../../antd/index";

import "./style/index";
export interface Props<RecordType> extends TableProps<RecordType> {}

function Table<RecordType extends object>(props: Props<RecordType>) {
  return <AntdTable {...props} />;
}

export type {
  TablePaginationConfig,
  TableColumnGroupType,
  TableColumnType,
  TableColumnProps,
  TableColumnsType,
} from "../../antd/index";
export default Table;
